// components/test/test.js
Component({
  options: {
    styleIsolation: 'shared'
  },
  /**
   * 组件的属性列表
   */
  properties: {
    count: {
      type:Number,
      value:20
    }
  },


  /**
   * 组件的初始数据
   */
  data: {
    num: 0
  },

  /**
   * 组件的方法列表
   */
  methods: {
    btn() {
      console.log(this.peoperties, 'this.properties');
      console.log(this.data, 'this.data');
      console.log(this.properties === this.data);
      this.setData({
        count: this.properties.count + 1
      })
    },
    say() {
      console.log(1);
    }
  }
})
